package com.weibo.sdk.android.api;

import com.weibo.sdk.android.Oauth2AccessToken;
import com.weibo.sdk.android.WeiboParameters;
import com.weibo.sdk.android.net.RequestListener;

public class FriendShipGroupAPI extends WeiboAPI {

	 private static final String SERVER_URL_PRIX = API_SERVER + "/friendships/groups/";
	 //private static final String SERVER_URL_PRIX = API_SERVER + "/friendships/groups/";
	public FriendShipGroupAPI(Oauth2AccessToken oauth2AccessToken) {
		super(oauth2AccessToken);
	}
	
	public void getIDS(long id,String token,int page,int count,long max_id,RequestListener listener) {
		WeiboParameters params = new WeiboParameters();
		params.add("list_id", id);
		params.add("max_id", max_id);
		params.add("count",count);
		params.add("page", page);
		params.add("feature", 1);
		request( SERVER_URL_PRIX + "timeline.json", params, HTTPMETHOD_GET,listener);
	}

}
